package sinoservices.demo.service;

import sinoservices.demo.entity.CustomerInfo;

import java.util.List;

/**
 * @author ：乔帅阳
 * @date ：Created in 2021/12/11 20:16
 * @modified By：
 */
public interface CustomerInfoService {

     int saveCustomer(CustomerInfo userinfo);

     int deleteCustomerById(int id);

     int updateCustomer(CustomerInfo userinfo);

     CustomerInfo getCustomerInfo(int id);

     List<CustomerInfo> selectAllCustomer();
     //获取每十年最小年纪总和
     Integer selectMinSum();
}
